package com.xxgc.eow.client.response;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;

/**
 * @program: ExhibitionOfWorks
 * @description: 微信获取接口调用凭据返回
 * @author: Mr.Abel SJY
 * @Email thanksjava@qq.com
 * @create: 2023-05-09 22:45
 **/
@Component
@Data
@ToString
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@Schema(name = "WechatTokenResponse", description = "接口凭据返回")
public class WechatTokenResponse {
    @Schema(description = "获取到的凭证")
    private String access_token;
    @Schema(description = "凭证有效时间，单位：秒。目前是7200秒之内的值。")
    private Integer expires_in;
}
